package com.java.sys.access;

/**
 * @ClassName: SecurityManager
 * @Author: suncx
 * @CreateDate: 2020-04-12 15:22
 * @Description:
 */
public class SecurityManagerTest {
    public static void main(String[] args) {
//        System.out.println(System.getProperty("java.ext.dirs"));
        System.setSecurityManager(new SecurityManager());
//        if (System.getSecurityManager() != null) {
//            return AccessController.doPrivileged((PrivilegedAction<Boolean>) () ->  return 1 ==1);
//        }
    }
}
